package com.bugbuff.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import org.springframework.stereotype.Repository;


public enum ReasonsForFreezingEnum implements IEnum<Integer> {
    REPORTED(1,"内容被举报"),
    ATTACK(2,"恶意攻击"),
    ADVERTISING(3,"广告"),
    ELSE(4,"其他");

    private  int value ;
    private  String state;

    ReasonsForFreezingEnum(int value, String state){
        this.value = value;
        this.state = state;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String  toString() {
        return this.state;
    }
}
